home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Almathera Ten Pack 1: Comms & Networking
/
Almathera Ten on Ten - Disc 1: Comms & Networking.iso
/
jackingin
/
ppp
/
howtouseppp
/
bin
/
startnet
Wrap
Text File
|
1995-05-01
|
526b
|
19 lines
AmiTCP:bin/online ppp0
AmiTCP:AmiTCP
WaitForPort AMITCP
; Configure loop-back device
AmiTCP:bin/ifconfig lo0 localhost
; Configure ppp0
AmiTCP:bin/ifconfig ppp0 $ppp0IPLocal $ppp0IPRemote
; Add route to this host
AmiTCP:bin/route add $ppp0IPLocal localhost
; Add route to the default gateway
AmiTCP:bin/route add default $ppp0IPRemote
SetEnv HOSTNAME `AmiTCP:bin/hostname`
Assign >NIL: TCP: EXISTS
IF WARN
Mount TCP: FROM AmiTCP:devs/inet-mountlist
EndIF
; Start the internet `super server'
Run <NIL: >NIL: AmiTCP:bin/inetd